#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
using Cephei.QL.Termstructures;
namespace Cephei.QL.Experimental.Credit
{
    /// <summary> 
	/// ! Base class for default risky bonds \ingroup credit
	/// </summary>
    [Guid ("D458E187-6293-41fa-A06B-A304FE68D166"),ComVisible(true)]
	public interface IRiskyBond : Cephei.QL.IInstrument
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double TotalFutureFlows(DateTime date);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> Cashflows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.ICurrency Ccy {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Termstructures.IDefaultProbabilityTermStructure DefaultTS {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime EffectiveDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> ExpectedCashflows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> InterestFlows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Boolean IsExpired {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime MaturityDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 String Name {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Notional(Microsoft.FSharp.Core.FSharpOption<DateTime> date);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> NotionalFlows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double RecoveryRate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double RiskfreeNPV {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Termstructures.IYieldTermStructure YieldTS {get;}
    }   

    /// <summary> 
	/// ! Base class for default risky bonds \ingroup credit Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IRiskyBond_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

